package cn.netbox.spring.pojo;

public class WuXiangYuUser {
    private String phone;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public WuXiangYuUser(String phone) {
        this.phone = phone;
        System.out.println("调用了User的有参构造");
    }

    public WuXiangYuUser() {
        System.out.println("User的无参构造");
    }

    @Override
    public String toString() {
        return "WuXiangYuUser{" +
                "phone='" + phone + '\'' +
                '}';
    }
}
